package com.lee.api;

import com.lee.factory.LeeClientFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "Eureka-Provider", fallbackFactory = LeeClientFallbackFactory.class)
public interface LeeClientService {

    @GetMapping("/provider/list")
    String list();

}
